/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package batchjob;

/**
 *
 * @author jonesbr
 */
public class MutualFund extends Customer implements IMonthlyItem {
    
    String symbol;
    String price;
    String change;
    
    public void process(String data) {
        String[] mfData = data.split(",");
        String[] fullName = mfData[0].split(" ");
        setFirstName(fullName[0]);
        setLastName(fullName[1]);
        symbol = mfData[1];
        price = mfData[2];
        change = mfData[3];
    }
    
    public String toString() {
        return "Mutual Fund" + getFirstName() + "  " + getLastName() + " " + symbol + price + change;
    }
    
}
